package com.shxzz.easy12306.framework.starter.common.mq.event;

import com.shxzz.easy12306.framework.starter.common.dto.pay.RefundPassengerDTO;
import com.shxzz.easy12306.framework.starter.common.enums.RefundType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 退款结果回调订单服务事件
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public final class RefundResultCallbackOrderEvent {
    /**
     * 订单号
     */
    private String orderSn;

    /**
     * 退款类型枚举
     */
    private RefundType refundType;

    /**
     * 退款乘客信息
     */
    private List<RefundPassengerDTO> refundPassengerDetailList;
}
